vs生成dll,卻沒有生成相應的lib 核心問題: __declspec(dllexport) 要加這句才會有。 比如: extern "C" __declspec(dllexport) int add(int a, int ...